StupidBeauty
Read times:1793Posted at: - no title specified

转载 Getting GDB pretty printing for C++ stl containers to work on Eclipse

如果在启动gdb之后输出了这个错误:“ Python scripting is not supported in this copy of GDB

”,则表示,妳的系统中安装的gdb版本在编译时未启用python支持。解决办法就是,重新编译安装gdb,并且指定./configure参数“--with-python”。

http://stackoverflow.com/questions/10641706/getting-gdb-pretty-printing-for-c-stl-containers-to-work-on-eclipse

亮点:


5
down vote accepted

To get you started, you can compile GDB in a separate directory, and run it from there.

Grab the sources for the version you want:  http://sources.redhat.com/gdb/

Run  ./configure  with the  --with-python , and then  make , but don't install it over your system copy.

At that point, you should be able to invoke gdb where it has been built with  ./builddir/gdb , rather than the one in your path. (This is where you should point eclipse debugging to, if you want to invoke it from there)

Your opinions

Your name:Email:Website url:Opinion content:
- no title specified

HxLauncher: Launch Android applications by voice commands

 
Recent comments
2017年4月~2019年4月垃圾短信排行榜Posted at:Thu Sep 26 04:51:48 2024
Qt5.7文档翻译:QWebEngineCookieStore类,QWebEngineCookieStore ClassPosted at:Fri Aug 11 06:50:35 2023盲盒kill -9 18289 Grebe.20230517.211749.552.mp4